package com.bishe.o2oo.web.local;

import com.bishe.o2oo.entity.PersonInfo;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import javax.servlet.http.HttpServletRequest;

@Controller
@RequestMapping("/local")
public class LocalController {
	/**
	 * 绑定帐号页路由
	 * 
	 * @return
	 */
	@RequestMapping(value = "/accountbind", method = RequestMethod.GET)
	private String accountbind() {
		return "local/accountbind";
	}
	/**
	 * 修改密码页路由
	 * 
	 * @return
	 */
	@RequestMapping(value = "/changepsw", method = RequestMethod.GET)
	private String changepsw() {
		return "local/changepsw";
	}

	@RequestMapping(value = "/changepersoninfo", method = RequestMethod.GET)
	private String changePersonInfo() {
		return "local/changePersonInfo";
	}

	@RequestMapping(value = "/findpersoninfo", method = RequestMethod.GET)
	private String findPersonInfo() {
		return "local/findPersonInfo";
	}

	/**
	 * 登录页路由
	 *
	 * @return
	 */
	@RequestMapping(value = "/login", method = RequestMethod.GET)
	private String login() {
		return "local/login";
	}

	@RequestMapping(value = "/shopLogin", method = RequestMethod.GET)
	private String shopLogin() {
		return "local/shopLogin";
	}

	/**
	 * 注册页路由
	 *
	 * @return
	 */
	@RequestMapping(value = "/regist", method = RequestMethod.GET)
	private String regist() {
		return "local/regist";
	}

	@RequestMapping(value = "/shopRegist", method = RequestMethod.GET)
	private String shopRegist() {
		return "local/shopRegist";
	}
}
